﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace WindowsFormsApplicationPlatform
{
    public partial class Main : Form
    {
        public Main()
        {
            InitializeComponent();
        }

        private void btnCreateVCode_Click(object sender, EventArgs e)
        {
            FrmVCode frm = new FrmVCode();
            frm.ShowDialog(); 
        }

        private void btnaddchildmenu_Click(object sender, EventArgs e)
        {
            FrmMDIParent frm = new FrmMDIParent();
            frm.ShowDialog();
        }

        private void btnPrint_Click(object sender, EventArgs e)
        {
            frmPrintReport frm = new frmPrintReport();
            frm.ShowDialog();
        }

        private void btnFolderWatch_Click(object sender, EventArgs e)
        {
            WorkFileWatchercs worker = new WorkFileWatchercs();
            worker.Start();
        }

        private void btnPageList_Click(object sender, EventArgs e)
        {
            frmPageList frm = new frmPageList();
            frm.ShowDialog();
        }
    }
}
